<ul class="nav justify-content-center">
    <li class="nav-item">
        <a class="nav-link" href="{:url('blog/index/index')}">首页</a>
    </li>
    <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            分类
        </a>
        <div class="dropdown-menu" aria-labelledby="navbarDropdown">
            {:widget('blog/nav')}
        </div>
    </li>
    <li class="nav-item">
        <a class="nav-link" href="{:url('blog/archives/index')}">归档</a>
    </li>
    <li class="nav-item">
        <a class="nav-link" href="{:url('blog/about/index')}">关于</a>
    </li>
    <li class="nav-item">
        <a class="nav-link" href="{:url('blog/link/index')}">友链</a>
    </li>
</ul>